package br.com.fromtis.jsf.modal.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Type;
import org.joda.time.LocalDate;





@Getter
@Setter
@Entity
@PrimaryKeyJoinColumn( name = "PESSOA_ID" )
public class PessoaFisica extends Cliente implements Serializable {
    private static final long serialVersionUID = -7667897679983539073L;
    
    
    @Column(name="NOME")
    private String nome;
    
	@Column( name = "PF_CPF", unique = true )
	private String cpf;
	
	@Column( name = "DATA_NASCIMENTO" )
	@Type(type="org.jadira.usertype.dateandtime.joda.PersistentLocalDate")
	private LocalDate dataNascimento;
	
	
}
